package com._21cn.cms.article.service;

import com._21cn.cms.article.dao.SpecialDao;
import com._21cn.cms.article.entity.Special;
import com._21cn.framework.base.db.BaseDao;
import com._21cn.framework.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor={Exception.class})
@Service("specialService")
public class SpecialService extends BaseServiceImpl<Special>
{

    @Autowired
    private SpecialDao specialDao;

    protected BaseDao<Special> getBaseDao()
    {
        return this.specialDao;
    }
}